﻿<%@ Page Language="C#" CodeBehind="Registration.aspx.cs" Inherits="d3PrtDgn.Web.Registration" MasterPageFile="~/Web/d3PrtDgnTemplate.Master" %>

<asp:Content id="body" contentPlaceholderId="body" runat="server">
	<h2><%= GetMessage("header") %></h2>
	<spring:ValidationSummary ID="validationSummary" runat="server" Visible="false" />
	<asp:Table runat="server" id="tblRegistration">
		<asp:TableRow>
			<asp:TableHeaderCell CssClass="leftHeader"><asp:Label runat="server" ID="lblName"/>:</asp:TableHeaderCell>
			<asp:TableCell><asp:TextBox runat="server" ID="tbName" /></asp:TableCell>
			<asp:TableCell CssClass="error"><spring:ValidationError runat="server" id="nameErrors" /></asp:TableCell>
		</asp:TableRow>
		<asp:TableRow>
			<asp:TableHeaderCell CssClass="leftHeader"><asp:Label runat="server" ID="lblSurname"/>:</asp:TableHeaderCell>
			<asp:TableCell><asp:TextBox runat="server" ID="tbSurname" /></asp:TableCell>
			<asp:TableCell CssClass="error"><spring:ValidationError runat="server" id="surnameErrors" /></asp:TableCell>
		</asp:TableRow>
		<asp:TableRow>
			<asp:TableHeaderCell CssClass="leftHeader"><asp:Label runat="server" ID="lblEmail"/>:</asp:TableHeaderCell>
			<asp:TableCell><asp:TextBox runat="server" ID="tbEmail" /></asp:TableCell>
			<asp:TableCell CssClass="error"><spring:ValidationError runat="server" id="emailErrors" /></asp:TableCell>
		</asp:TableRow>
		<asp:TableRow>
			<asp:TableHeaderCell CssClass="leftHeader"><asp:Label runat="server" ID="lblUsername"/>:</asp:TableHeaderCell>
			<asp:TableCell><asp:TextBox runat="server" ID="tbUsername" /></asp:TableCell>
			<asp:TableCell CssClass="error"><spring:ValidationError runat="server" id="usernameErrors" /></asp:TableCell>
		</asp:TableRow>
		<asp:TableRow>
			<asp:TableHeaderCell CssClass="leftHeader"><asp:Label runat="server" ID="lblPassword"/>:</asp:TableHeaderCell>
			<asp:TableCell><asp:TextBox runat="server" TextMode="Password" ID="tbPassword" /></asp:TableCell>
			<asp:TableCell CssClass="error"><spring:ValidationError runat="server" id="passwordErrors" /></asp:TableCell>
		</asp:TableRow>
		<asp:TableRow>
			<asp:TableHeaderCell CssClass="leftHeader"><asp:Label runat="server" ID="lblPasswordCheck"/>:</asp:TableHeaderCell>
			<asp:TableCell><asp:TextBox runat="server" TextMode="Password" ID="tbPasswordCheck" /></asp:TableCell>
		</asp:TableRow>
		<asp:TableRow>
			<asp:TableCell ColumnSpan="2" CssClass="center">
				<asp:Button runat="server" ID="btnOk" OnClick="Save" />
				<asp:Button runat="server" ID="btnCancel" OnClick="ReturnHome" />
			</asp:TableCell>
		</asp:TableRow>
	</asp:Table>
</asp:Content>